package com.mdd.admin.validate.competition;

import com.mdd.common.validator.annotation.IDMust;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 赛事申请参数
 * @author LikeAdmin
 */
@Data
@ApiModel("赛事申请更新参数")
public class CompetitionApplyUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "比赛申请表")
    private Integer id;

    @NotNull(message = "competitionId参数缺失")
    @ApiModelProperty(value = "")
    private Integer competitionId;

    @NotNull(message = "teamId参数缺失")
    @ApiModelProperty(value = "")
    private String teamNo;

    @NotNull(message = "status参数缺失")
    @ApiModelProperty(value = "")
    private Integer status;

    @NotNull(message = "createId参数缺失")
    @ApiModelProperty(value = "")
    private Integer createId;

}
